import java.util.Scanner;
public class demosecond {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        int count = 0;
        int sum = 0;
        int Max = 0;
        int Min = 101;
        int i = 10;
        while(i>0)
        {
            System.out.println("请输入一位学生成绩");
            int score = input.nextInt();
            sum+=score;
            if(score>Max)
                Max = score;
            if(score<Min)
                Min = score;
            count++;
            i--;
        }
        System.out.println("这十个学生的平均分是:"+sum/count);
        System.out.println("这十个学生的最高分是:"+Max);
        System.out.println("这十个学生的最低分是:"+Min);
    }
}
